/**
 * @author laixuemei
 * @time 2022-01-17
 * @description 接收一个reducer，然后创建store对象，集成插件
 */

import { applyMiddleware, createStore } from 'redux'
import reducer from './reduces'
import thunk from 'redux-thunk'

export default createStore(reducer,applyMiddleware(thunk) )